<ion-view class="bg">
  <ion-header-bar class="bar bar-positive">
    <button class="button back-button buttons icon ion-ios-arrow-left button-clear" nav-direction="back" ng-click="goBackList()">返回</button>
    <h3 class="title">修改地址</h3>
    <button class="button button-icon" ng-click="saveShippingAddress()">保存</button>
  </ion-header-bar>
  <ion-content>
    <div class="addAddress">
      <div class="item item-input col-40 phone">
        <i class="ion-android-call"></i>
        <input type="tel" maxlength="11"  placeholder="电话" ng-model="addressDetailData.customerPhone">
      </div>
      <div class="item item-input col-40 name">
        <i class="ion-android-person icon-person"></i>
        <input type="text" placeholder="姓名" maxlength="4" ng-model="addressDetailData.customerName">
      </div>
      <div class="item item-input proCy">
        <i class="ion-map map"></i>
        <div class="row">
          <select id="province" class="proCity">
            <option>地区选择</option>
            <option ng-repeat="pros in provinceData" value="{{pros.id}}">{{pros.name}}</option>
          </select>
          <select id="city" class="proCity">
            <option ng-repeat="cit in cityData" value="{{cit.id}}">{{cit.name}}</option>
          </select>
          <select id="area" class="proCity">
            <option ng-repeat="are in areaData" value="{{are.id}}">{{are.name}}</option>
          </select>
        </div>
      </div>
      <div class="item item-input detailAddress">
        <i class="ion-compose map" style="margin-right: 10px;"></i>
        <input type="text" placeholder="详细地址" maxlength="15" ng-model="addressDetailData.customerAddress">
      </div>
    </div>
    <ion-toggle ng-model="defaultAddress.isDefault" style="margin-top: 50px;">
      <i class="text">设为默认发货地址</i>
    </ion-toggle>
  </ion-content>
</ion-view>
